@inherits RenderViewPage
@using Umbraco.Cms.Web
@using PBDesk.com.Extension
@{
  var currentPg = DynamicModel;
  var home = MyHelper.GetHomeNode(DynamicModel);
  string crumText = string.Empty;
  while(currentPg.Id  != home.Id)
  {
   if(currentPg.umbracoNaviHide == "False")
   {
	
        if(currentPg.Id == DynamicModel.Id)
	  {
		  crumText = string.Format("<li>{0}</li>", currentPg.Name) + crumText;
	  }
	else
	  {
		crumText = string.Format("<li><a href=\"{0}\">{1}</a></li>", currentPg.Url, currentPg.Name) + crumText;
	   }
   }
   currentPg = currentPg.Parent;
  }
  crumText = string.Format("<li><a href=\"{0}\">{1}</a></li>", currentPg.Url, currentPg.Name) + crumText;
}
<ul id="breadcrumbs" >@Html.Raw(crumText)</ul>